package com.icode.dao;

import com.icode.core.model.about.*;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-3-5
 * Time: 上午10:19
 * To change this template use File | Settings | File Templates.
 */
public interface HomeAboutDao extends EntityDao  {

    void saveOrUpdateObject(Object object);

    Introduce findIntroduce();

    Introduce findIntroduceById(String introduceId);

    Model findModel();

    Model findModelById(String modelId);

    Concept findConceptById(String conceptId);

    Concept findConcept();

    Cooperation findCooperationById(String cooperationId);

    Cooperation findCooperation();

    SubHead findSubHeadById(String subHeadId);

    void deleteSubByObjectId(Object object);

    List<News> findNews();

    void deleteObject(Object object);
}
